#ifndef _ROB_APPLE_RC_H
#define _ROB_APPLE_RC_H

#include <WProgram.h>
#include <avr/io.h>

// IR-Command definitions for Apple RC
#define AR_BTN_UP 0xD0
#define AR_BTN_DN 0xB0
#define AR_BTN_LE 0x10
#define AR_BTN_RE 0xE0
#define AR_BTN_CC 0x20
#define AR_BTN_MM 0x40



class CAppleRC {
public:
  void Begin(void);
  uint8_t update(void);
private:
  uint8_t dispatchCmd(uint32_t code);

};

extern CAppleRC AppleRC;







#endif // _ROB_APPLE_RC_H

